<extend name="Home@Base/common" />
<block name="body">
    <div class="span9 page_message">
        <section id="contents"> <include file="Home@Addons/_nav" />
            <div class="tab-content">
                <php> $post_url || $post_url = U('add?model='.$model['id'], $get_param);</php>
                <form class="form-horizontal form-center" method="post" action="{$post_url}" id="form">
                    <div class="form-item cf">
                        <label class="item-label"> <span class="need_flag">*</span> 流程名称 </label>
                        <div class="controls">
                            <input type="text" value="{$data.name}" name="name" class="text" placeholder="请填流程名称">
                        </div>
                    </div>

                    <div class="form-item cf">
                        <label class="item-label"> 流程节点 - 1<span class="check-tips"></span></label>
                        <select name="operation1">
                            <volist name="node" id="vo">
                                <option value="{$vo.id}">{$vo.name}</option>
                            </volist>
                        </select>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label"> 流程节点 - 2<span class="check-tips"></span></label>
                        <select name="operation2">
                            <volist name="node" id="vo">
                                <option value="{$vo.id}">{$vo.name}</option>
                            </volist>
                        </select>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label"> 流程节点 - 3<span class="check-tips"></span></label>
                        <select name="operation3">
                            <volist name="node" id="vo">
                                <option value="{$vo.id}">{$vo.name}</option>
                            </volist>
                        </select>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label"> 流程节点 - 4<span class="check-tips"></span></label>
                        <select name="operation4">
                            <volist name="node" id="vo">
                                <option value="{$vo.id}">{$vo.name}</option>
                            </volist>
                        </select>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label"> 流程节点 - 5<span class="check-tips"></span></label>
                        <select name="operation5">
                            <volist name="node" id="vo">
                                <option value="{$vo.id}">{$vo.name}</option>
                            </volist>
                        </select>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label"> 流程节点 - 6<span class="check-tips"></span></label>
                        <select name="operation6">
                            <volist name="node" id="vo">
                                <option value="{$vo.id}">{$vo.name}</option>
                            </volist>
                        </select>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label"> 流程节点 - 7<span class="check-tips"></span></label>
                        <select name="operation7">
                            <volist name="node" id="vo">
                                <option value="{$vo.id}">{$vo.name}</option>
                            </volist>
                        </select>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label"> <span class="need_flag">*</span>流程类型<span class="check-tips"></span></label>
                        <select name="type">
                            <volist name="applyType" id="vo">
                                <option value="{$vo.id}">{$vo.name}</option>
                            </volist>
                        </select>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label"> <span class="need_flag">*</span> 流程参数 </label>
                        <div class="controls">
                            <input type="text" value="{$data.attr}" name="attr" class="text" placeholder="请填流程参数">
                        </div>
                    </div>
                    <div class="form-item form_bh" style="float: left">
                        <input type="hidden" name="id" value="{$data.id}">
                        <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
                    </div>
                </form>
            </div>
        </section>
    </div>


</block>

